import demo1.IModel;
import demo2.Dog;
import demo2.IJumpable;
import demo2.IRunnable;

//public abstract class Main implements IModel {
//    public static void main(String[] args) {
//        System.out.println("Hello world!");
//    }
//}


public class Main {
    public static void main(String[] args) {
        IRunnable dog =new Dog("旺财");
        dog.run();

        IJumpable jump =new Dog("湾仔");
        jump.jump();
    }

}